{if getQiNius()}
<div class="layui-form-item">
    <label class="layui-form-label">{$value['desc']}</label>
    <div class="Mfile {$value['class']}" style="{$value['style']}">
        <input name="{$value['name']}" type="text" value="{$value['value']}" style="display: none">
        <input class='layui-button' type="file" onchange="addfile(this)">上传文件
    </div>
</div>
{else}
<div class="layui-form-item">
    <label class="layui-form-label">{$value['desc']}</label>
    <div class="{$value['class']}" style="{$value['style']}">
        <input name="{$value['name']}" value="" style="display: none">
        <div class="layui-btn fenpian" id="{$value['name']}">上传文件</div>
    </div>
</div>
{/if}